/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Communication;




public  class Channel {

    private  AddressMachine AdressMachineClient;
    private  AddressMachine AdressMachineServer;

    public  void  newConexion(){}
    
    public   void sendMsn( String msn)
    {

    }

   public RMI getChanelRMI()
    {
        RMI oRMI  = new RMI();
        return oRMI;
    }

    /**
     * @return the AdressMachineClient
     */
    public AddressMachine getAdressMachineClient() {
        return AdressMachineClient;
    }

    /**
     * @param AdressMachineClient the AdressMachineClient to set
     */
    public void setAdressMachineClient(AddressMachine AdressMachineClient) {
        this.AdressMachineClient = AdressMachineClient;
    }

    /**
     * @return the AdressMachineServer
     */
    public AddressMachine getAdressMachineServer() {
        return AdressMachineServer;
    }

    /**
     * @param AdressMachineServer the AdressMachineServer to set
     */
    public void setAdressMachineServer(AddressMachine AdressMachineServer) {
        this.AdressMachineServer = AdressMachineServer;
    }




}
